package com.villaday.idf.model3;

import java.util.List;

public class SleepEntity {

    /**
     * code : 200
     * status : success
     * msg : success
     * body : {"context":"1.海报转发给好友，邀请到1位即报名参与成功；<br>2.每多邀请一位好友注册成功，中奖机会提升一倍；","endTime":"2019-11-23 19:05:39","id":"P8r2wO2Doe","name":"第二期爱订房免费住活动","phaseNumber":2,"previousList":[{"phaseNumber":1,"product":{"id":"9V5x6VaEyz","name":"南昆大观·泳池温泉12房双拼别墅 "},"winner":{"headerUrl":"valuehttp://thirdwx.qlogo.cn/mmopen/vi_32/d0G7T9xWD2A5RhPiaicAeLD5eicZVcteuaYEqR7ia04dtK69HeWiapIxMwX1VV0o98kSAP0rgnVSt8NlGpLxb8KKGCw/132","id":"3874","mobile":"137****1096","nickName":"风年青"}}],"templateList":[{"number":0,"poster":"https://img.villaday.com/images/material/45022/template_1906171726.png"},{"number":1,"poster":"https://img.villaday.com/images/material/45139/template_1906211149.png"}],"tips":"您还没报名成功哦，赶紧邀请好友注册抽取免费住房券！"}
     */

    private String code;
    private String status;
    private String msg;
    private BodyBean body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public BodyBean getBody() {
        return body;
    }

    public void setBody(BodyBean body) {
        this.body = body;
    }

    public static class BodyBean {
        /**
         * context : 1.海报转发给好友，邀请到1位即报名参与成功；<br>2.每多邀请一位好友注册成功，中奖机会提升一倍；
         * endTime : 2019-11-23 19:05:39
         * id : P8r2wO2Doe
         * name : 第二期爱订房免费住活动
         * phaseNumber : 2
         * previousList : [{"phaseNumber":1,"product":{"id":"9V5x6VaEyz","name":"南昆大观·泳池温泉12房双拼别墅 "},"winner":{"headerUrl":"valuehttp://thirdwx.qlogo.cn/mmopen/vi_32/d0G7T9xWD2A5RhPiaicAeLD5eicZVcteuaYEqR7ia04dtK69HeWiapIxMwX1VV0o98kSAP0rgnVSt8NlGpLxb8KKGCw/132","id":"3874","mobile":"137****1096","nickName":"风年青"}}]
         * templateList : [{"number":0,"poster":"https://img.villaday.com/images/material/45022/template_1906171726.png"},{"number":1,"poster":"https://img.villaday.com/images/material/45139/template_1906211149.png"}]
         * tips : 您还没报名成功哦，赶紧邀请好友注册抽取免费住房券！
         */

        private String context;
        private String endTime;
        private String id;
        private String name;
        private int phaseNumber;
        private String tips;
        private List<PreviousListBean> previousList;
        private List<TemplateListBean> templateList;

        public String getContext() {
            return context;
        }

        public void setContext(String context) {
            this.context = context;
        }

        public String getEndTime() {
            return endTime;
        }

        public void setEndTime(String endTime) {
            this.endTime = endTime;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getPhaseNumber() {
            return phaseNumber;
        }

        public void setPhaseNumber(int phaseNumber) {
            this.phaseNumber = phaseNumber;
        }

        public String getTips() {
            return tips;
        }

        public void setTips(String tips) {
            this.tips = tips;
        }

        public List<PreviousListBean> getPreviousList() {
            return previousList;
        }

        public void setPreviousList(List<PreviousListBean> previousList) {
            this.previousList = previousList;
        }

        public List<TemplateListBean> getTemplateList() {
            return templateList;
        }

        public void setTemplateList(List<TemplateListBean> templateList) {
            this.templateList = templateList;
        }

        public static class PreviousListBean {
            /**
             * phaseNumber : 1
             * product : {"id":"9V5x6VaEyz","name":"南昆大观·泳池温泉12房双拼别墅 "}
             * winner : {"headerUrl":"valuehttp://thirdwx.qlogo.cn/mmopen/vi_32/d0G7T9xWD2A5RhPiaicAeLD5eicZVcteuaYEqR7ia04dtK69HeWiapIxMwX1VV0o98kSAP0rgnVSt8NlGpLxb8KKGCw/132","id":"3874","mobile":"137****1096","nickName":"风年青"}
             */

            private int phaseNumber;
            private ProductBean product;
            private WinnerBean winner;

            public int getPhaseNumber() {
                return phaseNumber;
            }

            public void setPhaseNumber(int phaseNumber) {
                this.phaseNumber = phaseNumber;
            }

            public ProductBean getProduct() {
                return product;
            }

            public void setProduct(ProductBean product) {
                this.product = product;
            }

            public WinnerBean getWinner() {
                return winner;
            }

            public void setWinner(WinnerBean winner) {
                this.winner = winner;
            }

            public static class ProductBean {
                /**
                 * id : 9V5x6VaEyz
                 * name : 南昆大观·泳池温泉12房双拼别墅 
                 */

                private String id;
                private String name;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }

            public static class WinnerBean {
                /**
                 * headerUrl : valuehttp://thirdwx.qlogo.cn/mmopen/vi_32/d0G7T9xWD2A5RhPiaicAeLD5eicZVcteuaYEqR7ia04dtK69HeWiapIxMwX1VV0o98kSAP0rgnVSt8NlGpLxb8KKGCw/132
                 * id : 3874
                 * mobile : 137****1096
                 * nickName : 风年青
                 */

                private String headerUrl;
                private String id;
                private String mobile;
                private String nickName;

                public String getHeaderUrl() {
                    return headerUrl;
                }

                public void setHeaderUrl(String headerUrl) {
                    this.headerUrl = headerUrl;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getMobile() {
                    return mobile;
                }

                public void setMobile(String mobile) {
                    this.mobile = mobile;
                }

                public String getNickName() {
                    return nickName;
                }

                public void setNickName(String nickName) {
                    this.nickName = nickName;
                }
            }
        }

        public static class TemplateListBean {
            /**
             * number : 0
             * poster : https://img.villaday.com/images/material/45022/template_1906171726.png
             */

            private int number;
            private String poster;
            private boolean isOk;

            public boolean isOk() {
                return isOk;
            }

            public void setOk(boolean ok) {
                isOk = ok;
            }

            public int getNumber() {
                return number;
            }

            public void setNumber(int number) {
                this.number = number;
            }

            public String getPoster() {
                return poster;
            }

            public void setPoster(String poster) {
                this.poster = poster;
            }
        }
    }
}
